Package-level declarations

Types

Link copied to clipboard
@SinceKotoolsTypes(version = "1.0")
value class NotBlankString

Type representing strings that can't be blank.

Properties

Link copied to clipboard
@SinceKotoolsTypes(version = "1.0")
val String.notBlank: NotBlankString

Transforms the current String to a NotBlankString, or throws an IllegalArgumentException if the current value is blank.

Link copied to clipboard
@SinceKotoolsTypes(version = "1.0")
val String.notBlankOrNull: NotBlankString?

Transforms the current String to a NotBlankString, or returns null if the current value is blank.